From: Jo-Philipp Wich Date: Wed, 7 Jun 2023 21:26:46 +0000 (+0200) Subject: luci-app-ddns: use proper widget for `bind_network` option X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=a4a4273ca4297c19d143541155696e15291852d3;p=project%2Fluci.git luci-app-ddns: use proper widget for `bind_network` option It appears as if the option is supposed to refer to a logical network, not a firewall zone. Adjust the widget type accordingly. Fixes: #6405 Signed-off-by: Jo-Philipp Wich --- diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js index 1f0b373b3a..c30a3ed083 100644 --- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js +++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js @@ -882,7 +882,7 @@ return view.extend({ }; if (env['has_bindnet']) { - o = s.taboption('advanced', widgets.ZoneSelect, 'bind_network', + o = s.taboption('advanced', widgets.NetworkSelect, 'bind_network', _("Bind Network"), _('OPTIONAL: Network to use for communication') + '
' +